package com.chaokang.service;

import com.chaokang.dao.AdministratorEntityMapper;
import com.chaokang.dao.entity.AdministratorEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdministratorService {

    @Autowired
    private AdministratorEntityMapper administratorEntityMapper;
    public AdministratorEntity getAdminById(int id){
        return administratorEntityMapper.getAdminById(id);
    }

}
